package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.Color;

public interface IColor {
  public boolean create(Color c) throws SQLException, ClassNotFoundException;
  public boolean update(Color c) throws SQLException, ClassNotFoundException;
  public boolean delete(Color c) throws SQLException, ClassNotFoundException;
  public ArrayList<Color> retrieveByID(int id) throws SQLException, ClassNotFoundException;
  public ArrayList<Color> retrieveAll() throws SQLException, ClassNotFoundException;
}
